export default {
  pages: [
    'pages/index/index',
    'pages/resume/index',
    'pages/my/index',
    'pages/login/index',
    'pages/webview/index',
    'pages/resumeEdit/index',
  ],
  subpackages: [
    {
      root: 'subpackages',
      pages: [
        'pofile/index',
        'userEdit/index',
        'commodity/index',
        'collect/index',
        'commodity-list/index',
        'city-select/index',
      ],
    },
  ],
  usingComponents: {
    'van-empty': './vant-weapp/empty/index',
    'van-divider': './vant-weapp/divider/index',
  },
  plugins: {
    // citySelector: {
    //   version: '1.0.1',
    //   provider: 'wx63ffb7b7894e99ae',
    // },
  },
  permission: {
    'scope.userLocation': {
      desc: '你的位置信息将用于小程序定位',
    },
  },
  window: {
    backgroundTextStyle: 'light',
    // navigationBarBackgroundColor: '#fe6601',
    navigationBarBackgroundColor: '#fff',
    navigationBarTitleText: '阿姨直聘',
    navigationBarTextStyle: 'black',
  },
  tabBar: {
    selectedColor: '#48cfad',
    list: [
      {
        pagePath: 'pages/index/index',
        text: '找阿姨',
        iconPath: './assets/icon/tab-index.png',
        selectedIconPath: './assets/icon/tab-index-active.png',
      },
      {
        pagePath: 'pages/resume/index',
        text: '找工作',
        iconPath: './assets/icon/tab-resume.png',
        selectedIconPath: './assets/icon/tab-resume-active.png',
      },
      {
        pagePath: 'pages/my/index',
        text: '我的',
        iconPath: './assets/icon/tab-my.png',
        selectedIconPath: './assets/icon/tab-my-active.png',
      },
    ],
  },
};
